package com.weiz.designpatterns.strategy;

public class StrategyTest {
    public static void main(String[] args) {
        String type = "golden";
        DiscountStrategy strategy = DiscountStrategyFactory.getDiscountStrategy(type);
        strategy.doDiscount();
    }
}
